package service.impl;

import javax.annotation.Resource;

import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Service;

import dao.UserMapper;
import service.UserService;
import entity.User;
@Service
public class UserServiceImpl implements UserService{
	@Resource
	private UserMapper userMapper;
	public User getUser(User user){
		System.err.println("mapper======"+userMapper);
		return userMapper.get(user);
	}

}
